package com.example.demo_text;

import java.sql.Date;
import java.sql.Time;

public class Exam {
    private int examId;
    private int courseId;
    private String examTitle;
    private Date examDate;
    private Time examTime;
    private int examDuration;
    private String examDescription;
    private boolean active;

    public Exam() {
    }

    public Exam(int examId, int courseId, String examTitle, Date examDate, Time examTime, 
                int examDuration, String examDescription, boolean active) {
        this.examId = examId;
        this.courseId = courseId;
        this.examTitle = examTitle;
        this.examDate = examDate;
        this.examTime = examTime;
        this.examDuration = examDuration;
        this.examDescription = examDescription;
        this.active = active;
    }

    public int getExamId() {
        return examId;
    }

    public void setExamId(int examId) {
        this.examId = examId;
    }

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public String getExamTitle() {
        return examTitle;
    }

    public void setExamTitle(String examTitle) {
        this.examTitle = examTitle;
    }

    public Date getExamDate() {
        return examDate;
    }

    public void setExamDate(Date examDate) {
        this.examDate = examDate;
    }

    public Time getExamTime() {
        return examTime;
    }

    public void setExamTime(Time examTime) {
        this.examTime = examTime;
    }

    public int getExamDuration() {
        return examDuration;
    }

    public void setExamDuration(int examDuration) {
        this.examDuration = examDuration;
    }

    public String getExamDescription() {
        return examDescription;
    }

    public void setExamDescription(String examDescription) {
        this.examDescription = examDescription;
    }

    public boolean isActive() {
        return active;
    }

    public void setActive(boolean active) {
        this.active = active;
    }
} 